Electronic device supporting proximity communication service and method for obtaining information of short-range communication device using the same

ABSTRACT

According to certain embodiments, an electronic device comprises a first communication circuit configured to support a first communication protocol; a display; and at least one processor operatively connected to the first communication circuit and the display, wherein the at least one processor is configured to: configure a cluster with at least one external electronic based on the first communication protocol device through the first communication circuit, receive through the first communication circuit, from the at least one external electronic device, information identifying at least one short-range communication device connected to the at least one external electronic device via a second communication protocol, and control the display to display at least one indicator of the at least one short-range communication device based on the information received from the at least one external electronic device.

CROSS-REFERENCE TO RELATED APPLICATION

This application is based on and claims priority under 35 U.S.C. § 119to Korean Patent Application No. 10-2019-0134850 filed on Oct. 28, 2019,in the Korean Intellectual Property Office, the disclosure of which isherein incorporated by reference in its entirety.

BACKGROUND Field

Certain embodiments of the disclosure relate to an electronic devicesupporting a proximity communication service and a method for obtaininginformation of a short-range communication device using the same.

Description of Related Art

A proximity service can utilize a low-power short-range communication.For example, a proximity services can exchange data through a proximitynetwork. The proximity service may include a low-power proximity serviceusing a Bluetooth low-energy (BLE) beacon or a neighbor awarenessnetworking (NAN) (or Wi-Fi aware) based low-power proximity servicebased on a wireless local area network (WLAN).

SUMMARY

According to certain embodiments, an electronic device comprises a firstcommunication circuit configured to support a first communicationprotocol; a display; and at least one processor operatively connected tothe first communication circuit and the display, wherein the at leastone processor is configured to: configure a cluster with at least oneexternal electronic based on the first communication protocol devicethrough the first communication circuit, receive through the firstcommunication circuit, from the at least one external electronic device,information identifying at least one short-range communication deviceconnected to the at least one external electronic device via a secondcommunication protocol, and control the display to display at least oneindicator of the at least one short-range communication device based onthe information received from the at least one external electronicdevice.

According to certain embodiments, an electronic device comprises a firstcommunication circuit configured to support a first communicationprotocol; a second communication circuit configured to support a secondcommunication protocol; and at least one processor operatively connectedto the first communication circuit and the second communication circuit,wherein the at least one processor is configured to: establish aconnection via the second communication protocol with at least oneshort-range communication device using the second communication circuit,configure a cluster via the first communication protocol with anexternal electronic device through the first communication circuit,generate information identifying the at least one short-rangecommunication device connected via the second communication protocol,and transmit the generated information of the at least one short-rangecommunication device to the external electronic device through the firstcommunication circuit.

According to certain embodiments, a method for obtaining information ofa short-range communication device using an electronic device supportinga proximity communication service, comprises configuring a cluster withat least one external electronic device through a first communicationcircuit based on a first communication protocol; receiving, through thefirst communication circuit, from the at least one external electronicdevice, information identifying at least one short-range communicationdevice connected based on a second communication protocol with the atleast one external electronic device; and displaying at least oneindicator indicating the at least one short-range communication devicebased on the information received from the at least one externalelectronic device.

According to certain embodiments, a method for obtaining information ofa short-range communication device using an electronic device supportinga proximity communication service, comprises: establishing a connectionvia a second communication protocol with at least one short-rangecommunication device through a second communication circuit; configuringa cluster via a first communication protocol with an external electronicdevice through a first communication circuit; generating informationidentifying the at least one short-range communication device connectedvia the second communication protocol; and transmitting the generatedinformation of the at least one short-range communication device to theat least one external electronic device through the first communicationcircuit.

Effects that can be obtained in the disclosure are not limited to theabove-described effects, and other unmentioned effects can be clearlyunderstood by those of ordinary skill in the art to which the disclosurepertains from the following description.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects, features and advantages of certainembodiments of the disclosure will be more apparent from the followingdetailed description, taken in conjunction with the accompanyingdrawings, in which:

FIG. 1 is a block diagram of an electronic device in a networkenvironment according to certain embodiments.

FIG. 2 is a diagram explaining an example of a system configurationaccording to certain embodiments.

FIG. 3 is a diagram illustrating an example of a signal transmissionprotocol in a proximity network according to certain embodiments.

FIG. 4 is a diagram illustrating an example of data transmission andreception in a cluster according to certain embodiments.

FIG. 5 is a block diagram illustrating an electronic device according tocertain embodiments.

FIG. 6 is a flowchart explaining a method for obtaining and displayinginformation of a short-range communication device connected to anelectronic device supporting a proximity communication service accordingto certain embodiments.

FIG. 7 is a flowchart explaining a method for generating andtransmitting information of a short-range communication device connectedbased on a second communication protocol according to certainembodiments.

FIG. 8 is a diagram illustrating signal flows among a short-rangecommunication device, an external electronic device, and an electronicdevice according to certain embodiments.

FIG. 9 is a diagram explaining a method for obtaining information of ashort-range communication device connected to an electronic devicesupporting a proximity communication service according to certainembodiments.

FIG. 10 is a flowchart explaining a method for obtaining and displayinginformation of a short-range communication device connected to anelectronic device supporting a proximity communication service accordingto certain embodiments.

FIG. 11 is a diagram illustrating signal flows among a first short-rangecommunication device, an external electronic device, an electronicdevice, and a second short-range communication device according tocertain embodiments.

FIG. 12A is a diagram explaining a method for obtaining and displayinginformation of a short-range communication device connected to anelectronic device supporting a proximity communication service accordingto certain embodiments.

FIG. 12B is a diagram explaining a method for obtaining and displayinginformation of a short-range communication device connected to anelectronic device supporting a proximity communication service accordingto certain embodiments.

FIG. 12C is a diagram explaining a method for obtaining and displayinginformation of a short-range communication device connected to anelectronic device supporting a proximity communication service accordingto certain embodiments.

FIG. 12D is a diagram explaining a method for obtaining and displayinginformation of a short-range communication device connected to anelectronic device supporting a proximity communication service accordingto certain embodiments.

DETAILED DESCRIPTION

In order to perform a NAN communication and a communication excludingthe NAN communication (e.g., Bluetooth, near field communication (NFC),and/or Wi-Fi direct) with an external electronic device, an electronicdevice should search for the external electronic device by activatingthe NAN communication supporting this and the communication excludingthe NAN. Further, for a communication connection with the searchedexternal electronic device, the electronic device should enter a pairingmode, or should perform inquiry and paging operations. This isinconvenient to the user.

The electronic device according to certain embodiments of the disclosurecan receive, from at least one external electronic device connectedthrough the NAN communication, and display information on the at leastone external electronic device and at least one short-rangecommunication device connected through the communication excluding theNAN communication.

The electronic device according to certain embodiments of the disclosurecan receive the information of the at least one short-rangecommunication device from the at least one external electronic deviceconnected through the NAN communication.

The electronic device according to certain embodiments of the disclosurecan receive the information of the at least one short-rangecommunication device connected to the at least one external electronicdevice through the communication excluding the NAN communication fromthe at least one external electronic device connected through the NANcommunication, and thus can increase usability of the at least oneexternal electronic device and the at least one short-rangecommunication device.

FIG. 1 is a block diagram of an electronic device 101 in a networkenvironment according to certain embodiments.

Referring to FIG. 1, the electronic device 101 in the networkenvironment 100 may communicate with an electronic device 102 via afirst network 198 (e.g., a short-range wireless communication network),or an electronic device 104 or a server 108 via a second network 199(e.g., a long-range wireless communication network). According to anembodiment, the electronic device 101 may communicate with theelectronic device 104 via the server 108. According to an embodiment,the electronic device 101 may include a processor 120, memory 130, aninput device 150, a sound output device 155, a display device 160, anaudio module 170, a sensor module 176, an interface 177, a haptic module179, a camera module 180, a power management module 188, a battery 189,a communication module 190, a subscriber identification module (SIM)196, or an antenna module 197. In some embodiments, at least one (e.g.,the display device 160 or the camera module 180) of the components maybe omitted from the electronic device 101, or one or more othercomponents may be added in the electronic device 101. In someembodiments, some of the components may be implemented as singleintegrated circuitry. For example, the sensor module 176 (e.g., afingerprint sensor, an iris sensor, or an illuminance sensor) may beimplemented as embedded in the display device 160 (e.g., a display).

The processor 120 may execute, for example, software (e.g., a program140) to control at least one other component (e.g., a hardware orsoftware component) of the electronic device 101 coupled with theprocessor 120, and may perform various data processing or computation.According to an embodiment, as at least part of the data processing orcomputation, the processor 120 may load a command or data received fromanother component (e.g., the sensor module 176 or the communicationmodule 190) in volatile memory 132, process the command or the datastored in the volatile memory 132, and store resulting data innon-volatile memory 134. According to an embodiment, the processor 120may include a main processor 121 (e.g., a central processing unit (CPU)or an application processor (AP)), and an auxiliary processor 123 (e.g.,a graphics processing unit (GPU), an image signal processor (ISP), asensor hub processor, or a communication processor (CP)) that isoperable independently from, or in conjunction with, the main processor121. Additionally or alternatively, the auxiliary processor 123 may beadapted to consume less power than the main processor 121, or to bespecific to a specified function. The auxiliary processor 123 may beimplemented as separate from, or as part of the main processor 121.

The auxiliary processor 123 may control at least some of functions orstates related to at least one component (e.g., the display device 160,the sensor module 176, or the communication module 190) among thecomponents of the electronic device 101, instead of the main processor121 while the main processor 121 is in an inactive (e.g., sleep) state,or together with the main processor 121 while the main processor 121 isin an active state (e.g., executing an application). According to anembodiment, the auxiliary processor 123 (e.g., an image signal processoror a communication processor) may be implemented as part of anothercomponent (e.g., the camera module 180 or the communication module 190)functionally related to the auxiliary processor 123.

The memory 130 may store various data used by at least one component(e.g., the processor 120 or the sensor module 176) of the electronicdevice 101. The various data may include, for example, software (e.g.,the program 140) and input data or output data for a command relatedthereto. The memory 130 may include the volatile memory 132 or thenon-volatile memory 134.

The program 140 may be stored in the memory 130 as software, and mayinclude, for example, an operating system (OS) 142, middleware 144, oran application 146.

The input device 150 may receive a command or data to be used by othercomponent (e.g., the processor 120) of the electronic device 101, fromthe outside (e.g., a user) of the electronic device 101. The inputdevice 150 may include, for example, a microphone, a mouse, a keyboardor a digital pen (e.g., a stylus pen).

The sound output device 155 may output sound signals to the outside ofthe electronic device 101. The sound output device 155 may include, forexample, a speaker or a receiver. The speaker may be used for generalpurposes, such as playing multimedia or playing record, and the receivermay be used for an incoming calls. According to an embodiment, thereceiver may be implemented as separate from, or as part of the speaker.

The display device 160 may visually provide information to the outside(e.g., a user) of the electronic device 101. The display device 160 mayinclude, for example, a display, a hologram device, or a projector andcontrol circuitry to control a corresponding one of the display,hologram device, and projector. According to an embodiment, the displaydevice 160 may include touch circuitry adapted to detect a touch, orsensor circuitry (e.g., a pressure sensor) adapted to measure theintensity of force incurred by the touch.

The audio module 170 may convert a sound into an electrical signal andvice versa. According to an embodiment, the audio module 170 may obtainthe sound via the input device 150, or output the sound via the soundoutput device 155 or a headphone of an external electronic device (e.g.,an electronic device 102) (e.g., speaker or headphone) directly (e.g.,wiredly) or wirelessly coupled with the electronic device 101.

The sensor module 176 may detect an operational state (e.g., power ortemperature) of the electronic device 101 or an environmental state(e.g., a state of a user) external to the electronic device 101, andthen generate an electrical signal or data value corresponding to thedetected state. According to an embodiment, the sensor module 176 mayinclude, for example, a gesture sensor, a gyro sensor, an atmosphericpressure sensor, a magnetic sensor, an acceleration sensor, a gripsensor, a proximity sensor, a color sensor, an infrared (IR) sensor, abiometric sensor, a temperature sensor, a humidity sensor, or anilluminance sensor.

The interface 177 may support one or more specified protocols to be usedfor the electronic device 101 to be coupled with the external electronicdevice (e.g., the electronic device 102) directly (e.g., wiredly) orwirelessly. According to an embodiment, the interface 177 may include,for example, a high definition multimedia interface (HDMI), a universalserial bus (USB) interface, a secure digital (SD) card interface, or anaudio interface.

A connecting terminal 178 may include a connector via which theelectronic device 101 may be physically connected with the externalelectronic device (e.g., the electronic device 102). According to anembodiment, the connecting terminal 178 may include, for example, a HDMIconnector, a USB connector, a SD card connector, or an audio connector(e.g., a headphone connector).

The haptic module 179 may convert an electrical signal into a mechanicalstimulus (e.g., a vibration or a movement) or electrical stimulus whichmay be recognized by a user via his tactile sensation or kinestheticsensation. According to an embodiment, the haptic module 179 mayinclude, for example, a motor, a piezoelectric element, or an electricstimulator.

The camera module 180 may capture a still image or moving images.According to an embodiment, the camera module 180 may include one ormore lenses, image sensors, image signal processors, or flashes.

The power management module 188 may manage power supplied to theelectronic device 101. According to an embodiment, the power managementmodule 188 may be implemented as at least part of, for example, a powermanagement integrated circuit (PMIC).

The battery 189 may supply power to at least one component of theelectronic device 101. According to an embodiment, the battery 189 mayinclude, for example, a primary cell which is not rechargeable, asecondary cell which is rechargeable, or a fuel cell.

The communication module 190 may support establishing a direct (e.g.,wired) communication channel or a wireless communication channel betweenthe electronic device 101 and the external electronic device (e.g., theelectronic device 102, the electronic device 104, or the server 108) andperforming communication via the established communication channel. Thecommunication module 190 may include one or more communicationprocessors that are operable independently from the processor 120 (e.g.,the application processor (AP)) and supports a direct (e.g., wired)communication or a wireless communication. According to an embodiment,the communication module 190 may include a wireless communication module192 (e.g., a cellular communication module, a short-range wirelesscommunication module, or a global navigation satellite system (GNSS)communication module) (e.g., a wireless transceiver) or a wiredcommunication module 194 (e.g., a local area network (LAN) communicationmodule or a power line communication (PLC) module) (e.g., a wiredtransceiver). A corresponding one of these communication modules maycommunicate with the external electronic device via the first network198 (e.g., a short-range communication network, such as Bluetooth™,wireless-fidelity (Wi-Fi) direct, or infrared data association (IrDA))or the second network 199 (e.g., a long-range communication network,such as a cellular network, the Internet, or a computer network (e.g.,local area network (LAN) or wide area network (WAN)). These varioustypes of communication modules may be implemented as a single component(e.g., a single chip), or may be implemented as multi components (e.g.,multi chips) separate from each other. The wireless communication module192 may identify and authenticate the electronic device 101 in acommunication network, such as the first network 198 or the secondnetwork 199, using subscriber information (e.g., international mobilesubscriber identity (IMSI)) stored in the subscriber identificationmodule 196.

The antenna module 197 may transmit or receive a signal or power to orfrom the outside (e.g., the external electronic device) of theelectronic device 101. According to an embodiment, the antenna module197 may include an antenna including a radiating element implemented bya conductive material or a conductive pattern formed in or on asubstrate (e.g., PCB). According to an embodiment, the antenna module197 may include a plurality of antennas. In such a case, at least oneantenna appropriate for a communication scheme used in the communicationnetwork, such as the first network 198 or the second network 199, may beselected, for example, by the communication module 190 (e.g., thewireless communication module 192) from the plurality of antennas. Thesignal or the power may then be transmitted or received between thecommunication module 190 and the external electronic device via theselected at least one antenna. According to an embodiment, anothercomponent (e.g., a radio frequency integrated circuit (RFIC)) other thanthe radiating element may be additionally formed as part of the antennamodule 197.

At least some of the above-described components may be coupled mutuallyand communicate signals (e.g., commands or data) therebetween via aninter-peripheral communication scheme (e.g., a bus, general purposeinput and output (GPIO), serial peripheral interface (SPI), or mobileindustry processor interface (MIPI)).

According to an embodiment, commands or data may be transmitted orreceived between the electronic device 101 and the external electronicdevice 104 via the server 108 coupled with the second network 199. Eachof the electronic devices 102 and 104 may be a device of a same type as,or a different type, from the electronic device 101. According to anembodiment, all or some of operations to be executed at the electronicdevice 101 may be executed at one or more of the external electronicdevices 102, 104, or 108. For example, if the electronic device 101should perform a function or a service automatically, or in response toa request from a user or another device, the electronic device 101,instead of, or in addition to, executing the function or the service,may request the one or more external electronic devices to perform atleast part of the function or the service. The one or more externalelectronic devices receiving the request may perform the at least partof the function or the service requested, or an additional function oran additional service related to the request, and transfer an outcome ofthe performing to the electronic device 101. The electronic device 101may provide the outcome, with or without further processing of theoutcome, as at least part of a reply to the request. To that end, acloud computing, distributed computing, or client-server computingtechnology may be used, for example.

FIG. 2 is a diagram 200 explaining an example of a system configurationaccording to certain embodiments.

For example, FIG. 2 may show a configuration example of a neighborawareness networking (NAN) cluster 201 for a proximity network accordingto certain embodiments. In the following description, the cluster 201may mean a set of electronic devices 210, 220, 230, and 240 constitutinga proximity network so that the electronic devices (or NAN devices) 210,220, 230, and 240 can mutually transmit and receive data. For example,the cluster 201 may be called a NAN cluster in accordance with NANstandards.

With reference to FIG. 2, the cluster 201 may be composed of theplurality of electronic devices 210, 220, 230, and 240. The electronicdevices 210, 220, 230, and 240 included in the cluster 201 may transmitand receive beacons (or discovery beacons) and service discovery frames(SDFs) (hereinafter referred to as “SDFs”) in a synchronized timeduration (or communication duration) (e.g., discovery window (DW)). Forexample, the electronic devices 210, 220, 230, and 240 in the cluster201 have time clocks synchronized with each other, and thus they cansend and receive beacons and SDFs to and from each other in the samediscovery window. According to an embodiment, an electronic devicesupporting a NAN based low-power near field communication technology maybroadcast discovery signals (e.g., beacons) for discovering anotherelectronic device in each predetermined first interval (e.g., about 100msec), and it may receive a discovery signal being broadcasted from theother electronic device by performing scanning in each predeterminedsecond interval (e.g., about 10 msec). According to an embodiment, anelectronic device may recognize at least one other electronic devicelocated around the electronic device based on the discovery signalreceived through the scanning, and it may perform time and channelsynchronization with the recognized at least one other electronicdevice.

For example, as exemplified in FIG. 2, each of the plurality ofelectronic devices 210, 220, 230, and 240 may form one cluster 201 bytransmitting and receiving beacons to and from the other electronicdevices 210, 220, 230, and 240, and the electronic devices 210, 220,230, and 240 in the cluster 201 may perform time and channelsynchronization.

In an embodiment, the time and channel synchronization may be performedbased on the time and channel of the electronic device having thehighest master preference in the cluster 201. For example, theelectronic devices 210, 220, 230, and 240 in the cluster 201 formedthrough the discovery may exchange signals for master preferenceinformation indicating the preference for operating as an anchor materwith each other, and through the exchanged signals, they may determinethe electronic device having the highest master preference as the anchormater (or master device).

According to an embodiment, the anchor mater may mean the electronicdevice that becomes the basis of the time and channel synchronization ofthe electronic devices 210, 220, 230, and 240 in the cluster 201. Theanchor master may be changed in accordance with the master preference ofthe electronic device. According to an embodiment, in the discoverywindow (or discovery interval) being repeated in accordance with apredetermined interval, each of the time/channel-synchronized electronicdevices 210, 220, 230, and 240 may transmit and receive the beacons andthe SDFs to and from the other electronic devices.

According to an embodiment, the beacons may be periodically transmittedand received for each discovery window in order to continuously keep thetime and channel synchronization of the electronic devices 210, 220,230, and 240 in the cluster 201.

According to an embodiment, the SDFs may be transmitted and received inthe discovery window in accordance with the necessity to provideservices with the discovered electronic devices 210, 220, 230, and 240.According to an embodiment, among the time/channel-synchronizedelectronic devices 210, 220, 230, and 240, the electronic deviceoperating as the anchor master may transmit the beacons in an intervalbetween the discovery windows to detect a new electronic device.

According to an embodiment, each of the electronic devices 210, 220,230, and 240 in the cluster 201 may reduce current consumption in amanner that it operates in an active state only during the discoverywindow and it operates in a low-power state (e.g., sleep state) duringthe remaining interval excluding the discovery window. For example, thediscovery window corresponds to a time (e.g., millisecond) in which theelectronic device is in the active state (or awake state) to cause muchcurrent consumption, whereas the interval excluding the discovery windowcorresponds to a time when the electronic device keeps the sleep stateto make the low-power discovery possible. Accordingly, the electronicdevices 210, 220, 230, and 240 in the cluster 201 may be simultaneouslyactivated at a start time (e.g., DW start) of the discovery windowsynchronized through the time synchronization, and they may besimultaneously switched to the sleep state at an end time (e.g., DW end)of the discovery window.

According to an embodiment, the electronic devices 210, 220, 230, and240 included in the cluster 201 may perform discovery, synchronization,and data exchange operations using a protocol illustrated in FIG. 3 tobe described later.

FIG. 3 is a diagram 300 illustrating an example of a signal transmissionprotocol in a proximity network according to certain embodiments.

For example, FIG. 3 may be an exemplary diagram of a discovery windowaccording to certain embodiments. In FIG. 3, it is exemplified thatelectronic devices included in one cluster (e.g., cluster 201 of FIG. 2)transmit signals through a specific channel (e.g., channel 6 (Ch 6)based on NAN standards.

With reference to FIG. 3, electronic devices included in one cluster maytransmit synchronization beacons 310 and SDFs 320 in a synchronizeddiscovery window (DW) 325. At another interval 340 excluding thediscovery window 325 (e.g., interval between the discovery windows),discovery beacons 330 may be transmitted by at least one electronicdevice. According to an embodiment, the electronic devices may transmitthe synchronization beacons 310 and the SDFs 320 based on contentions.For example, the synchronization beacons 310 and the SDFs 320 may betransmitted between the respective electronic devices belonging to thecluster based on the contentions. According to an embodiment, eachelectronic device belonging to a cluster may have a transmissionpriority of the beacon 310 higher than that of the SDF 320.

According to an embodiment, for data exchange between the respectiveelectronic devices, the discovery window 325 may be an interval at whichthe corresponding electronic device is activated from a sleep state thatcorresponds to a power saving mode to a wakeup state. For example, thediscovery window 325 may be divided into time units (TUs) in the unit ofmilliseconds. According to an embodiment, the discovery window 325 fortransmitting and receiving the synchronization beacons 310 and the SDFs320 may occupy 16 time units (TUs), and it may have a cycle (orinterval) being repeated with 512 time units (TUs).

According to an embodiment, the discovery beacon 330 may indicate asignal that is transmitted so that other electronic devices that areunable to join the cluster can discover the cluster. For example, thediscovery beacon 330 is a signal for notifying of the existence of thecluster, and the electronic devices that do not join the cluster maydiscover and join the cluster by receiving the discovery beacons 330through performing of passive scan.

According to an embodiment, the discovery beacon 330 may includeinformation that is necessary for synchronization with the cluster. Forexample, the discovery beacon 330 may include at least one of a framecontrol (FC) field indicating a function of a signal (e.g., beacon), abroadcast address, a media access control (MAC) address of atransmission electronic device, a cluster identifier (ID), a sequencecontrol field, a time stamp for a beacon frame, a beacon intervalindicating a transmission interval of the discovery beacon 330, orcapability information for the transmission electronic device. Accordingto an embodiment, the discovery beacon 330 may include an informationelement related to at least one proximity network (or cluster). In anembodiment, the information related to the proximity network may becalled attribute information.

According to an embodiment, the synchronization beacon 310 may representa signal for keeping the synchronization between the synchronizedelectronic devices in the cluster. The synchronization beacon 310 may betransmitted by a synchronization device among the electronic devices inthe cluster. For example, the synchronization device may include ananchor master device defined in the NAN standards, a master device, or anon-master sync device.

According to an embodiment, the synchronization beacon 310 may includeinformation required for the synchronization of the electronic devicesin the cluster. For example, the synchronization beacon 310 may includeat least one of an FC field indicating the function of the signal (e.g.,beacon), a broadcast address, a MAC address of a transmission electronicdevice, a cluster identifier, a sequence control field, a time stamp fora beacon frame, a beacon interval indicating an interval between startpoints of the discovery window 325, or capability information for thetransmission electronic device. According to an embodiment, thesynchronization beacon 310 may include an information element related toat least one proximity network (or cluster). For example, the proximitynetwork related information may include content for a service providedthrough the proximity network.

According to an embodiment, the SDF 320 may represent a signal forexchanging data through the proximity network. According to anembodiment, the SDF 320 may represent a vender specific public actionframe, and it may include various fields. For example, the SDF 320 mayinclude a category or an action field, and it may include at least onepiece of proximity network related information.

As described above, the synchronization beacon 310, the SDF 320, and thediscovery beacon 330 may include the proximity network relatedinformation. In an embodiment, the proximity network related informationmay include an identifier indicating the kind of information, a lengthof information, and a body field that is corresponding information.According to an embodiment, the corresponding information may include atleast one of master indication information, cluster information, serviceidentifier list information, service descriptor information, connectioncapability information, wireless LAN infrastructure information,peer-to-peer (P2P) operation information, independent basic service set(IBSS) information, mesh information, further proximity network servicediscovery information, further availability map information, countrycode information, ranging information, cluster discovery information, orvender specific information.

FIG. 4 is a diagram 400 illustrating an example of data transmission andreception in a cluster according to certain embodiments.

For example, FIG. 4 shows an example in which a first electronic device410, a second electronic device 420, and a third electronic device 430form one cluster (e.g., NAN cluster 201 of FIG. 2) through near fieldcommunication technology, and the respective electronic devices 410,420, and 430 may transmit and receive beacons and/or SDFs to and fromeach other. According to an embodiment, in FIG. 4, it may be exemplifiedthat among the electronic devices 410, 420, and 430 constituting thecluster, the first electronic device 410 serves as the master electronicdevice.

With reference to FIG. 4, the first electronic device 410 may transmitbeacons and SDFs in the discovery window 450. According to anembodiment, the first electronic device 410 may broadcast the beaconsand SDFs in each discovery window 450 being repeated at eachpredetermined interval (e.g., interval 460).

According to an embodiment, the second electronic device 420 and thethird electronic device 430 may receive the beacons and the SDFstransmitted by the first electronic device 410. According to anembodiment, the second electronic device 420 and the third electronicdevice 430 may receive the beacons and the SDFs being broadcasted fromthe first electronic device 410 in each discovery window 450.

According to an embodiment, the beacon being transmitted in thediscovery window 450 may represent the synchronization beacon, and itmay include information for keeping the synchronization between theelectronic devices 410, 420, and 430. For example, if the electronicdevices 410, 420, and 430 are included in the cluster, the masterelectronic device (e.g., first electronic device 410) may besynchronized with the time clock, and thus the discovery window 450 maybe activated at the same time.

According to an embodiment, at an interval (e.g., interval 460)excluding the discovery window 450, the electronic devices 410, 420, and430 may keep a sleep state in order to reduce current consumption. Forexample, the electronic devices 410, 420, and 430 can reduce the currentconsumption by operating in an awake state only at an interval of thediscovery window 450 based on the synchronized time clock.

FIG. 5 is a block diagram 500 illustrating an electronic device 501according to certain embodiments.

With reference to FIG. 5, an electronic device 501 (e.g., electronicdevice 101 of FIG. 1) may include a communication circuit 510 (e.g.,communication module 190 of FIG. 1), a memory 520 (e.g., memory 130 ofFIG. 1), a touch screen display 530 (e.g., display device 160 of FIG.1), and a processor 540 (e.g., processor 120 of FIG. 1). The term“processor” shall be understood to refer to both the singular and pluralcontexts.

According to an embodiment, the communication circuit 510 (e.g.,communication module 190 of FIG. 1) may include a first communicationcircuit 511 and a second communication circuit 513. In an embodiment,the first communication circuit 511 may support a first communicationprotocol, and the second communication circuit 513 may support a secondcommunication protocol. For example, the first communication protocolmay include a low-power short-range communication (e.g., Wi-Fi aware)based on neighbor awareness networking (NAN). The second communicationprotocol may include a short-range communication that is different fromthe first communication protocol. The second communication protocol caninclude any one of Bluetooth, Bluetooth low energy (BLE), near fieldcommunication (NFC), Wi-Fi direct, global navigation satellite system(GNSS), Zigbee, infrared data association (IrDA), radio frequencyidentification (RFID), ad-hoc, ultra wideband (UWB), and/or hotspot).

According to an embodiment, the memory 520 (e.g., memory 130 of FIG. 1)may store a program for supporting the configuration of a cluster basedon a first communication protocol with at least one external electronicdevice through the first communication circuit 511. The memory 520 maystore a program for receiving, through the first communication circuit511, and displaying information (such as at least one indicator thatindicates) about at least one short-range communication device that isconnected via the second protocol with the at least one externalelectronic device. In certain embodiments, the memory 520 may store aprogram for displaying the information (such as at least one otherindicator) of the at least one other short-range communication deviceconnected (or searched for) via the second protocol with the electronicdevice 501. In certain embodiments, the memory 520 may store a programfor displaying the information (such as at least one other indicator) ofat least one other short-range communication device that is connectable,or connected and connectable via the second protocol with the electronicdevice 501.

The touch screen display 530 (e.g., display device 160 of FIG. 1) may beintegrally configured to include a display 531 and a touch panel 533.The touch screen display 530 displays an image under the control of theprocessor 540, and may be implemented by any one of a liquid crystaldisplay (LCD), a light-emitting diode (LED) display, an organiclight-emitting diode (OLED) display, or micro electromechanical system(MEMS) display, or an electronic paper display. However, the touchscreen display is not limited thereto.

The display 531 may display a screen for configuring a short-rangecommunication (e.g., Bluetooth communication) under the control of theprocessor 540. The display 531 may display at least one indicatorindicating at least one short-range communication device based oninformation received from at least one external electronic device in thecluster. The display 531 may further display at least one otherindicator indicating at least one short-range communication deviceconnected, or connectable, or both based on the second communicationprotocol under the control of the processor 540. In certain embodiments,the at least one indicator and the at least one other indicator canselectable objects that correspond to particular ones of the at leastone short-range communication device and the at least one othershort-range communication device. The touch panel 533 may detect a userinput for selecting at least one short-range communication devicedisplayed on the display 531 and/or a user input (e.g., user inputrelated to service execution) to control the short-range communicationdevice under the control of the processor 540.

According to an embodiment, the processor 540 (e.g., processor 120 ofFIG. 1) may control the overall operation of the electronic device 501and a signal flow between internal constituent elements of theelectronic device 501, perform data processing, and control power supplyfrom a battery (battery 189 of FIG. 1) to the constituent elements.

In an embodiment, the processor 540 may configure a cluster based on thefirst communication protocol with at least one external electronicdevice through the first communication circuit 511. The processor 540may receive through the first communication circuit 511, from the atleast one external electronic device, information of (such asinformation identifying) at least one short-range communication deviceconnected with the at least one external electronic device in thecluster. The information identifying the at least one short-rangecommunication device received from the at least one external electronicdevice may include at least one of address information, capabilityinformation, location information, identification information (e.g.,name) of the short-range communication device, attributes (e.g., typeand specification), status information (e.g., on/off), battery residualquantity information, communication strength information, orcommunication protocol type information. The processor 540 may displayat least one indicator of the at least one short-range communicationdevice on the display 531 based on the information received from the atleast one external electronic device. The at least one indicator caninclude at least one selectable object corresponding to particular onesof the at least one short-range communication device.

When a user input for selecting a short-range communication device forexecuting a specific service among the at least one short-rangecommunication device displayed on the display 531 is detected, theprocessor 540 may transfer data related to the specific service to theselected short-range communication device through the externalelectronic device communication-connected with the selected short-rangecommunication device. In certain embodiments, the user input selectingthe short-range communication device can be a touch input of an objectcorresponding to the selected short-range communication device.

In an embodiment, the processor 540 may perform a search operation toidentify whether at least one short-range communication device based onthe second communication protocol exists through the secondcommunication circuit 513. The processor 540 may determine whether toestablish a connection based on the second communication protocol withthe at least one other short-range communication device. It is notedthat the at least one other short-range communication device can be, butis not necessarily, the same as the at least one short-rangecommunication device that are connected to the external electronicdevice. Moreover, the at least one other short-range communicationdevice and the at least one short-range communication device canoverlap. If the connection based on the second communication protocolwith the at least one short-range communication device is made throughthe second communication circuit 513, the processor 540 may display anindicator of the at least one short-range communication device connectedvia the second communication protocol with the at least one externalelectronic device, the at least one other short-range communicationdevice searched for based on the second communication protocol, and/orthe at least one short-range communication device making the connectionbased on the second communication protocol with the electronic device501 that are indicated on the display 531.

The processor 540 may separately display the at least one indicatorindicating the short-range communication device connected based via onthe second communication protocol with the at least one other indicatorindicating the at least one other external electronic device and the atleast one short-range communication device making the connection basedon the second communication protocol with the electronic device 501 onthe display 531.

According to an embodiment, an electronic device 501 comprising: a firstcommunication circuit 511 configured to support a first communicationprotocol, a display 531, and a processor 540 operatively connected tothe first communication circuit 511 and the display 531, wherein theprocessor 540 is configure a cluster with at least one externalelectronic based on the first communication protocol through the firstcommunication circuit 511, receive through the first communicationcircuit 511, from the at least one external electronic device,information identifying at least one short-range communication deviceconnected to the at least one external electronic device via a secondcommunication protocol, and control the display 531 to display at leastone indicator of the at least one short-range communication device basedon the information received from the at least one external electronicdevice According to certain embodiments, the first communicationprotocol supports a low-power short-range communication based onneighbor awareness networking (NAN), and the second communicationprotocol supports a different short-range communication from the firstcommunication protocol.

According to an embodiment, the electronic device 501 further comprisesa second communication circuit 513 supporting the second communicationprotocol, wherein the processor 540 is configured to: search for atleast one other short-range communication device based on the secondcommunication protocol through the second communication circuit, andcontrol the display 531 to display at least one other indicatorindicating the at least one other short-range communication device.

According to certain embodiments, control the display to display atleast one other indicator indicating the at least one other short-rangecommunication device comprises control the display to separately displaythe at least other indicator of the at least one other short-rangecommunication device with the at least one indicators of the at leastone external electronic device and the at least one searched short-rangecommunication device.

According to certain embodiments, the processor 540 is configured totransmit a request for a search for the at least one short-rangecommunication device to the at least one external electronic devicethrough the first communication circuit 511.

According to certain embodiments, when an input for selecting one of theat least one indicators indicating of the at least one short-rangecommunication device is detected, the processor 540 is configured totransmit a signal to a selected short-range communication device amongthe at least one external electronic device and the external electronicdevice through the first communication circuit.

According to an embodiment, an electronic device 501 comprising: a firstcommunication circuit 511 configured to support a first communicationprotocol, a second communication circuit 513 configured to support asecond communication protocol, and a processor 540 operatively connectedto the first communication circuit 511 and the second communicationcircuit 513, wherein the processor 540 is configured to: establish aconnection based on the second communication protocol with at least oneshort-range communication device through the second communicationcircuit 513, configure a cluster based on the first communicationprotocol with at least one external electronic device through the firstcommunication circuit 511, generate information of the at least oneshort-range communication device connected based on the secondcommunication protocol, and transmit the generated information of the atleast one short-range communication device to the at least one externalelectronic device through the first communication circuit 511.

According to an embodiment, the information of the at least oneshort-range communication device comprises at least one of addressinformation, capability information, location information,identification information, a device type, status information, batteryresidual quantity information, communication strength information, orcommunication protocol type information.

According to an embodiment, in case that a signal for requestinginformation of the at least one short-range communication device isreceived from the at least one external electronic device through thefirst communication circuit 511, the processor 540 is configured togenerate the information of the at least one short-range communicationdevice connected based on the second communication protocol and totransmit the information to the at least one external electronic devicehaving requested the information through the first communication circuit511.

According to an embodiment, in case that a signal for requesting asearch for the at least one short-range communication device is receivedfrom the at least one external electronic device through the firstcommunication circuit 511, the processor 540 is configured to generateat least one of the information of the at least one short-rangecommunication device connected based on the second communicationprotocol or the information of the at least one short-rangecommunication device in which a strength of a received communicationsignal exceeds a designated value and to transmit the generatedinformation to the at least one external electronic device havingrequested the search through the first communication circuit 511.

FIG. 6 is a flowchart 600 explaining a method for obtaining anddisplaying information of a short-range communication device connectedto an electronic device supporting a proximity communication serviceaccording to certain embodiments.

With reference to FIG. 6, the electronic device (e.g., electronic device501 of FIG. 5), at operation 601, may configure the cluster based on thefirst communication protocol with at least one external electronicdevice through the first communication circuit (e.g., firstcommunication circuit 511 of FIG. 5). The first communication protocolmay support a low-power short-range communication (e.g., Wi-Fi aware)based on neighbor awareness networking (NAN).

In an embodiment, if at least one external electronic device is detectedthrough Bluetooth low energy (BLE), or execution of a proximitycommunication service (e.g., execution of a service (e.g., IoT service)based on the Bluetooth communication) is detected, the electronic device501 may activate a communication function (e.g., NAN-based low-powershort-range communication function) for supporting the firstcommunication protocol, and may configure the cluster (e.g., cluster 201of FIG. 2) with the at least one external electronic device around theelectronic device.

For example, according to the above-described embodiment of FIG. 2, theelectronic device 501 supporting the low-power short-range communicationmay broadcast a search signal (e.g., discovery beacon) for discoveringat least one external electronic device in each first predeterminedperiod (e.g., about 100 msec), and may receive the search signal beingbroadcasted from the at least one external electronic device byperforming scanning in each second predetermined period (e.g., about 10msec). The electronic device 501 may identify the at least one externalelectronic device located around the electronic device 501 based on thereceived search signal through the scanning, and may configure thecluster 201 with the identified external electronic device. Theelectronic devices (e.g., electronic device 501 and at least oneexternal electronic device) in the cluster 201 may perform time andchannel synchronization. The electronic device 501 and the at least oneexternal electronic device, of which the time and channel have beensynchronized, may send and receive information (e.g., beacon and SDF)through the same discovery window.

In an embodiment, the electronic device 501 may configure the clusterwith at least one external electronic device that satisfies a designatedcondition. For example, the electronic device 501 may identify thedesignated condition including account information, contact information,a service being executed, a supportable service, and/or a proximityservice request from a user of the electronic device, and may configurethe cluster with the at least one external electronic device thatsatisfies the designated condition.

The cluster configuration is not limited thereto, and in an embodiment,in case that the electronic device 501 is located in a designated place,the electronic device 501 may activate the NAN-based low-powershort-range communication function, and may configure the cluster withat least one external electronic device around the electronic device.The designated place may include a place designated by a user. Forexample, the designated place may include a house, an office, a reservedplace located at a reserved time (e.g., restaurant, uber, hospital, artgallery, or movie theater), or location information registered in aschedule.

In an embodiment, the electronic device 501, at operation 603, mayreceive, through the first communication circuit 511, informationidentifying at least one short-range communication device connected withthe at least one external electronic device via the second communicationprotocol, from the at least one external electronic device.

In an embodiment, the information identifying the at least oneshort-range communication device received from the at least one externalelectronic device may include at least one of address information,capability information, location information, identification information(e.g., name) of the short-range communication device, attributes (e.g.,type and specification), status information (e.g., on/off), batteryresidual quantity information, communication strength information, orcommunication protocol type information.

In an embodiment, the electronic device 501 may receive the informationidentifying at least one short-range communication device connectedbased on the second communication protocol with the at least oneexternal electronic device from the at least one external electronicdevice based on various time points and/or conditions. For example, theelectronic device 501 may receive the information of the at least oneshort-range communication device from the at least one externalelectronic device in response to the configuration of the cluster basedon the first communication protocol with the at least one externalelectronic device through the first communication circuit.

As another example, the electronic device 501 may receive theinformation identifying the at least one short-range communicationdevice from the at least one external electronic device in response tothe detection of the user input for requesting the designated period orthe information of the at least one short-range communication device,the sensing of the execution of the specific application or the specificfunction (e.g., entrance into a short-range communication (e.g.,Bluetooth) configuration screen, music playback, file sharing, executionof a document preparation function, and/or execution of an Internet ofthings (IoT) service), or the detection of the user input for selectingthe external electronic device through a user interface including the atleast one external electronic device connected based on the firstcommunication protocol.

As still another example, if the electronic device 501 is located in adesignated range, the electronic device 501 may receive the informationidentifying the at least one short-range communication device from theat least one external electronic device. For example, the electronicdevice 501 may receive the information of the at least one short-rangecommunication device from the at least one external electronic devicethrough ultra-wideband (UWB), NFC, or wireless charging coils based onwhether the electronic device 501 is located in a designated place(e.g., in a vehicle or in a house) or whether the electronic device 501is put on a vehicle (e.g., it is determined whether the user of theelectronic device 501 gets on the vehicle depending on whether themovement speed of the electronic device 501 exceeds a predeterminedspeed using a sensor unit (not illustrated) (e.g., accelerationsensor)).

As still another example, the electronic device 501 may transmitauthentication information, such as account information or reservationinformation, to the external electronic device (or server), and if theauthentication is identified, the electronic device may receive theinformation of the short-range communication device connected to theexternal electronic device from the external electronic device (orserver).

In an embodiment, the electronic device 501, at operation 605, maydisplay at least one indicator indicating at least one short-rangecommunication device based on the information received from the at leastone external electronic device. For example, the electronic device 501may configure the user interface including the at least one short-rangecommunication device based on the information of the at least oneshort-range communication device received from the at least one externalelectronic device, and may display the configured user interface on thedisplay (e.g., display 531 of FIG. 5). As another example, theelectronic device 501 may display information of the external electronicdevice (e.g., external electronic device connected based on the secondcommunication protocol with the at least one short-range communicationdevice) and the at least one short-range communication device inassociation with each other.

In an embodiment, the electronic device 501 may display guideinformation to control the at least one short-range communicationdevice. The guide information may be displayed in case that a user inputto request an output of the guide information is detected, or adesignated condition (e.g., time when the user interface including theshort-range communication device is first communication-connected withthe selected short-range communication device) is satisfied. In anembodiment, the electronic device 501 may receive the guide informationfrom the at least one external electronic device or the correspondingshort-range communication device, and may display the received guideinformation. In another embodiment, the electronic device 501 maydisplay the guide information to control the short-range communicationdevice searched for based on the information of the short-rangecommunication device.

In certain embodiments, although not illustrated, the electronic device501 may detect the user input for selecting the short-rangecommunication device for the user interface including the at least oneshort-range communication device displayed on the display 531 to executea specific service. The electronic device 501 may transmit data relatedto the specific service to the external electronic device connectedbased on the second communication protocol with the selected short-rangecommunication device through the first communication circuit 511. Theexternal electronic device may transmit the data related to the specificservice received from the electronic device 501 to the selectedshort-range communication device through the second communicationcircuit (e.g., second communication circuit 513 of FIG. 5). The selectedshort-range communication device may execute the specific service basedon the data related to the specific service received through theexternal electronic device.

According to an embodiment, a method for obtaining information of ashort-range communication device using an electronic device 501supporting a proximity communication service, the method comprising:configuring a cluster based on the first communication protocol with atleast one external electronic device through a first communicationcircuit 511, receiving, from the at least one external electronicdevice, information of at least one short-range communication deviceconnected based on a second communication protocol with the at least oneexternal electronic device through the first communication circuit 511,and displaying the at least one short-range communication device basedon the information received from the at least one external electronicdevice.

According to an embodiment, the first communication protocol supports alow-power short-range communication based on neighbor awarenessnetworking (NAN), and the second communication protocol supports ashort-range communication different from the first communicationprotocol.

According to an embodiment, the method for obtaining information of ashort-range communication device using an electronic device 501supporting a proximity communication service, the method furthercomprising: searching for at least one other connected, connectable, orboth short-range communication device through a second communicationcircuit 513 supporting the second communication protocol, and displayingthe at least one other indicator indicating the at least one othershort-range communication device.

According to an embodiment, the at least one short-range communicationdevice connected, connectable, or both, via the second communicationprotocol with the at least one external electronic device and the atleast one searched short-range communication device are displayedseparately.

According to an embodiment, the method for obtaining information of ashort-range communication device using an electronic device 501supporting a proximity communication service, the method furthercomprising transmitting a signal for requesting a search for the atleast one short-range communication device to the at least one externalelectronic device through the first communication circuit 511.

According to an embodiment, the method for obtaining information of ashort-range communication device using an electronic device 501supporting a proximity communication service, the method furthercomprising detecting an input for selecting one of the at least oneshort-range communication device displayed on a display 531 based on thereceived information, and transmitting a signal for the detected inputto the selected short-range communication device among the at least oneexternal electronic device and the external electronic device connectedbased on the second communication protocol through the firstcommunication circuit 511.

FIG. 7 is a flowchart 700 explaining a method for generating andtransmitting information of a short-range communication device connectedbased on a second communication protocol according to certainembodiments.

With reference to FIG. 7, the electronic device (e.g., electronic device501 of FIG. 5), at operation 701, may establish the connection based onthe second communication protocol with the at least one short-rangecommunication device through the second communication circuit (e.g.,second communication circuit 513 of FIG. 5). For example, the secondcommunication protocol may support the short-range communicationexcluding the NAN-based low-power short-range communication, forexample, Bluetooth, Bluetooth low energy (BLE), near field communication(NFC), Wi-Fi direct, global navigation satellite system (GNSS), Zigbee,infrared data association (IrDA), radio frequency identification (RFID),ad-hoc, ultra wideband (UWB), and/or hotspot

In an embodiment, the electronic device 501, at operation 703, mayconfigure the cluster (e.g., cluster 201 of FIG. 2) based on the firstcommunication protocol with the at least one external electronic devicethrough the first communication circuit (first communication circuit 511of FIG. 5). For example, the first communication protocol may supportthe NAN-based low-power short-range communication. According to theabove-described embodiment of FIG. 2, the electronic device 501 mayconfigure the cluster 201 with the at least one external electronicdevice that satisfies the designated condition (e.g., accountinformation, contact information, a service being executed, asupportable service, and/or a proximity service request from a user).

In an embodiment, the electronic device 501, at operation 705, maygenerate the information of the at least one short-range communicationdevice based on the second communication protocol. The information ofthe short-range communication device may include at least one of addressinformation, capability information, location information,identification information (e.g., name) of the short-range communicationdevice, attributes (e.g., type and specification), status information(e.g., on/off), battery residual quantity information, communicationstrength information, or communication protocol type information. Atoperation 707, the electronic device 501 may transmit the generatedinformation of the at least one short-range communication device to theat least one external electronic device through the first communicationcircuit 511.

In an embodiment, the information of the at least one short-rangecommunication device connected based on the second communicationprotocol with the electronic device may be exchanged through a servicediscovery frame (SDF).

In an embodiment, if the cluster is configured based on the firstcommunication protocol with the at least one external electronic device,the electronic device 501 may transmit a publish type SDF within adiscovery window DW.

In another embodiment, the electronic device 501 may publish theinformation of the at least one short-range communication device basedon the second communication protocol to the at least one externalelectronic device existing in the cluster. For example, the electronicdevice 501 may publish the information of the at least one short-rangecommunication device to the at least one external electronic deviceexisting in the cluster regardless of the reception of the signal forrequesting the information of the at least one short-range communicationdevice from the at least one external electronic device existing in thecluster.

In still another embodiment, the electronic device 501 may publish theinformation of the at least one short-range communication device inresponse to a subscribe type SDF in the cluster. The subscribe type SDFmay be transmitted within the discovery window DW to grasp the existenceof the short-range communication device located around the at least oneexternal electronic device at a time when the use of the short-rangecommunication device is necessary. For example, the at least oneexternal electronic device may transmit the subscribe type SDF to the atleast one electronic device in the cluster at the time when the use ofthe short-range communication device, such as a Bluetooth speaker and/ora Bluetooth keyboard, is necessary. The at least one electronic devicehaving received the subscribe type SDF may determine whether the atleast one short-range communication device connected based on the secondcommunication protocol exists. If the at least one connected short-rangecommunication device exists, the corresponding electronic device maypublish the information of the at least one short-range communicationdevice to the external electronic device having transmitted thesubscribe type SDF.

In an embodiment, the electronic device 501 may publish the informationof the at least one short-range communication device to the at least oneexternal electronic device existing in the cluster through a NAN SDFframe format as shown in Table 1 below. The NAN SDF frame may includefields, such as category, action, organizationally unique identifier(OUI), OUI type, and NAN attributes. Among the fields included in theNAN SDF frame, the NAN attribute field may include one or moreattributes corresponding to purposes. The electronic device 501 maypublish the SDF having the NAN attribute field including one or moreattributes corresponding to the purposes to the at least one externalelectronic device existing in the cluster.

TABLE 1 Size Field (Octets) Value(Hex) Description Category 1 0x04 or0x09 IEEE 802.11 Public Action frame or Protected Dual of Public Actionframe Action 1 0x09 IEEE 802.11 Public Action frame Vendor Specific OUI3 0x50-6F-9A Wi-Fi Alliance specific OUI OUI Type 1 0x13 Identifying thetype and version of the NAN NAN Variable Variable One or more NANattributes attributes

For example, the one or more attributes corresponding to the purposesthat may be included in the NAN attribute field may include at least oneof a master indication attribute, a cluster attribute, a service ID listattribute, a service descriptor attribute, a NAN connection capabilityattribute, a wireless LAN (WLAN) infrastructure attribute, a peer topeer (P2P) operation attribute, an independent basic service set (IBSS)attribute, a mesh attribute, a further proximity network (NAN) servicediscovery attribute, a further availability map attribute, a countrycode attribute, a ranging attribute, a cluster discovery attribute, aservice descriptor extension attribute, a device capability attribute, aNAN data path (NDP) attribute, a NAN data cluster (NDC) attribute, a NANdata link (NDL) attribute, an NDL quality of service (QoS) attribute, anunaligned schedule attribute, a ranging information attribute, a rangingsetup attribute, a fine timing measurement (FTM) ranging reportattribute, an element container attribute, an extended wireless LAN(WLAN) infrastructure attribute, an extended peer to peer (P2P)operation attribute, an extended independent basic service set (IBSS)attribute, an extended mesh attribute, a cipher suite info attribute, asecurity context info attribute, a shared-key descriptor attribute, apublic availability attribute, or a vendor specific attribute.

In an embodiment, the electronic device 501 may transmit the informationof the at least one short-range communication device to the at least oneexternal electronic device existing in the cluster using the servicedescriptor attribute or the service descriptor extension attribute amongthe attributes that may be included in the above-described NAN attributefield.

In an embodiment, the format for the service descriptor attribute may beas shown in Table 2 below.

TABLE 2 Size Field (Octets) Value(Hex) Description Attribute ID 1 0x03Identifies the type of NAN attribute Length 2 Variable Length of thefollowing fields in the attribute. Service ID 6 Variable Mandatory fieldthat contains the hash of the Service Name. Instance ID 1 VariablePublish_ID or Subscribe_ID Value of zero is reserved Requestor 1Variable Instance ID from the frame that triggered the Instance IDtransmission if available, otherwise set to 0x00. Service 1 VariableMandatory field that defines the Service Control Control bitmap Binding0 or 2 0x0000 to Optional field that indicates the binding of the SDABitmap 0xFFFF to post discovery connection attributes Matching 0 or 1Variable An optional field and present if a matching service FilterLength discovery filter is used Matching Variable Variable An optionalfield that is a sequence of length and Filter value pairs that identifythe matching service discovery filters Service 0 or 1 Variable Anoptional field and present if a service response Response filter isused. Filter Length Service Variable Variable An optional field thatidentifies the matching Response service response filters Filter ServiceInfo 0 or 1 Variable An optional field and present if service specificLength information is used Service Info Variable Variable An optionalfield that contains the service specific information. Its content may bedetermined by the application and not specified herein.

In an embodiment, the format for the service descriptor extensionattribute may be as shown in Table 3 below.

TABLE 3 Size Field (Octets) Value Description Attribute ID 1 0x0EIdentifies the type of NAN attribute Length 2 0 or 1 Length of thefollowing fields in the attribute. This is an optional field. InstanceID 1 Variable The same value as in the Instance ID field of theassociated Service Descriptor attribute. Control 2 Variable Informationabout the fields present. Range Limit 4 0 or 4 Range limit given incentimeters. This is an optional field. Service 1 0 or 2 Monotonicallyincreasing value indicating the current Update version of the servicespecific information Indicator corresponding to the publish instance,which may be conveyed by publish message and/or FSD messages. This is anoptional field. Service Info 0 or 2 Variable Length of the Service Infofield. An optional field and Length present if Service Info field ispresent. Service Info Variable Variable An optional field that containsthe service specific information.

In an embodiment, the format for the service descriptor attribute inTable 2 and the format for the service descriptor extension attribute inTable 3 may include the service info field capable of defining theservice specific information.

In an embodiment, the information of the at least one short-rangecommunication device connected based on the second communicationprotocol with the electronic device may be included in the service infofield. The electronic device 501 may define the information of the atleast one short-range communication device in the service info field,and may transmit the SDF including the service descriptor attributedefining this or the service descriptor extension attribute to the atleast one external electronic device exiting in the cluster through thefirst communication circuit 511.

According to an embodiment, it has been described that the service infofield includes the information of the at least one connected short-rangecommunication device, but the service info field is not limited thereto.For example, the service information field may further include actiontype information including an operation to be performed by theelectronic device. The action type for the operation to be performed bythe electronic device, which has a certain value, may be a value engagedbetween the electronic devices having the same service. For example, theaction type may be a value indicating that the information of theshort-range communication device is being searched for in case that aspecific electronic device among electronic devices constituting thecluster transmits a subscribe message to at least one electronic deviceexisting in the cluster excluding the specific electronic device inorder to search for the communication device located in a short range.In response to the subscribe message received from the specificelectronic device, at least one electronic device having the samedesignated value as that of the action type among the at least oneelectronic device existing in the cluster may publish the information ofthe at least one short-range communication device connected to theelectronic device having transmitted the subscribe message.

In an embodiment, the electronic device 501 may identify whether thestate of the connected short-range communication device is changed atdesignated time intervals. For example, the state of the short-rangecommunication device may include a state where the connection with theelectronic device 501 is maintained, a state where the connection withthe electronic device 501 is released, and/or a state where a newshort-range communication device is searched for. If the state of theshort-range communication device is changed, the electronic device 501may transmit the information of the short-range communication deviceincluding the changed state to the at least one external electronicdevice existing in the cluster.

In FIG. 7 according to an embodiment, although it has been describedthat the electronic device 501 establishes the connection based on thesecond communication protocol with the at least one short-rangecommunication device at operation 701, and then configures the clusterbased on the first communication protocol with the at least one externalelectronic device at operation 703, the operation of the electronicdevice is not limited thereto. For example, the electronic device 501may configure the cluster with the at least one external electronicdevice based on the first communication protocol at operation 703, andthen may establish the connection based on the second communicationprotocol with the at least one short-range communication device atoperation 701.

According to an embodiment, although it has been described that theelectronic device 501 configures the cluster with the at least oneexternal electronic device at operation 703, and then generates andtransmits the information of the short-range communication device, theoperation of the electronic device is not limited thereto. For example,the electronic device 501 may perform a search operation to identifywhether the short-range communication device is located around theelectronic device 501 for each designated period. If at least one newshort-range communication device is searched for by the searchoperation, the electronic device 501 may generate and transmitinformation of the at least one new searched short-range communicationdevice. As another example, if a signal for requesting the informationof the at least one short-range communication device is received fromthe external electronic device, the electronic device 501 may generateand transmit the information of the at least one short-rangecommunication device based on the second communication protocol. Asstill another example, if a signal for requesting the information of theat least one short-range communication device is received from theexternal electronic device, the electronic device 501 may generate andtransmit not only the information of the connected short-rangecommunication device but also the information of the short-rangecommunication device located adjacent to the external electronic device(e.g., short-range communication device having a communication signalstrength that exceeds a designated value) searched for through thesearch operation (e.g., search operation for identifying whether theshort-range communication device is located around the electronic device501).

According to an embodiment, a method for obtaining information of ashort-range communication device using an electronic device 501supporting a proximity communication service, the method comprising:establishing a connection based on a second communication protocol withat least one short-range communication device through a secondcommunication circuit 513, configuring a cluster based on a firstcommunication protocol with at least one external electronic devicethrough a first communication circuit 511, generating information of theat least one short-range communication device connected based on thesecond communication protocol, and transmitting the generatedinformation of the at least one short-range communication device to theat least one external electronic device through the first communicationcircuit 511.

According to an embodiment, the information of the at least oneshort-range communication device comprises at least one of addressinformation, capability information, location information,identification information, a device type, status information, batteryresidual quantity information, communication strength information, orcommunication protocol type information.

According to an embodiment, the method for obtaining information of ashort-range communication device using an electronic device 501supporting a proximity communication service, the method furthercomprising: receiving a signal for requesting information of the atleast one short-range communication device from the at least oneexternal electronic device through the first communication circuit 511,and generating the information of the at least one short-rangecommunication device connected based on the second communicationprotocol, and transmitting the information to the at least one externalelectronic device having requested the information through the firstcommunication circuit 511.

According to an embodiment, the method for obtaining information of ashort-range communication device using an electronic device 501supporting a proximity communication service, the method furthercomprising: receiving a signal for requesting a search for the at leastone short-range communication device from the at least one externalelectronic device through the first communication circuit 511, andgenerating at least one of the information of the at least oneshort-range communication device connected based on the secondcommunication protocol or the information of the at least oneshort-range communication device in which a strength of a receivedcommunication signal exceeds a designated value, and transmitting thegenerated information to the at least one external electronic devicehaving requested the search through the first communication circuit 511.

FIG. 8 is a diagram 800 illustrating signal flows among a short-rangecommunication device 810, an external electronic device 820, and anelectronic device 830 according to certain embodiments.

With reference to FIG. 8, a short-range communication device 810 and anexternal electronic device 820, at operation 840, may be connected witheach other through short-range communication. For example, theshort-range communication connection may include a communicationconnection based on the second communication protocol including theshort-range communication in addition to the NAN-based low-powershort-range communication. For example, in addition to the NAN-basedlow-power short-range communication, the second communication protocolmay include the short-range communication (e.g., Bluetooth, Bluetoothlow energy (BLE), near field communication (NFC), Wi-Fi direct, globalnavigation satellite system (GNSS), Zigbee, infrared data association(IrDA), radio frequency identification (RFID), ad-hoc, ultra wideband(UWB), and/or hotspot).

In FIG. 8 according to an embodiment, although it has been describedthat the external electronic device 820 is connected to one short-rangecommunication device 810 through the short-range communication, theconnection of the external electronic device is not limited thereto. Forexample, the external electronic device 820 may be connected to aplurality of short-range communication devices including the short-rangecommunication device 810 through the short-range communication.

In an embodiment, the external electronic device 820 and the electronicdevice 830, at operation 845, may configure the cluster based on thefirst communication protocol. For example, the first communicationprotocol may include the NAN-based low-power short-range communication(e.g., Wi-Fi aware). In an embodiment, if execution of a proximitycommunication service is detected, or if the electronic device 830 islocated in a designated place, the electronic device 830 may configurethe cluster with the external electronic device 820.

In an embodiment, the electronic device 830 may request informationidentifying at least one short-range communication device from at leastone external electronic device, that is, the external electronic device820, in response to the detection of a user input requesting adesignated period or the information of the at least one short-rangecommunication device, the detection of execution of a specificapplication or a specific function, the location of the electronicdevice 501 in a designated place, or the detection of the user input forselecting the external electronic device through a user interfaceincluding the at least one external electronic device connected based onthe first communication protocol.

In an embodiment, the external electronic device 820, at operation 850,may generate information of the short-range communication device 810. Inan embodiment, the external electronic device 820, at operation 855, maytransmit the generated information of the short-range communicationdevice 810 to the electronic device 830 through the first communicationcircuit (e.g., first communication circuit 511 of FIG. 5).

In an embodiment, the electronic device 830, at operation 860, maydisplay an indicator indicating the short-range communication device 810on the display (e.g., display 531 of FIG. 5) based on the information ofthe short-range communication device 810 received from the externalelectronic device 820. For example, the electronic device 810 maydisplay identification information (e.g., name) of the short-rangecommunication device 810, attributes (e.g., type and specification),status information (e.g., on/off), battery residual quantityinformation, communication strength information, or communicationprotocol type information, and/or may display the short-rangecommunication device 810 and the external electronic device 820connected based on the second communication protocol in association witheach other.

In an embodiment, when a user input selects one of the displayedshort-range communication device(s) 810, the electronic device 830 maytransmit data related to the execution of the specific service to theselected short-range communication device 810 through the externalelectronic device 820. In certain embodiments, the user input selectingone of the displayed short-range communication device(s) can be a touchinput of an object associated with the selected short-rangecommunication device. The data transmission by the electronic device 830is not limited thereto, and if the electronic device 830 is locatedwithin a designated range, the electronic device 830 may transmit thedata related to the execution of the specific service to the short-rangecommunication device 810 through the external electronic device 820.

In an embodiment, the short-range communication device 810, at operation840, may generate not only information of the communication-connectedshort-range communication device but also information of the short-rangecommunication device located adjacent to the external electronic device820 (e.g., short-range communication device having a communicationsignal strength that exceeds a designated value), and may transmit thegenerated information to the electronic device 830 through the firstcommunication circuit 511.

FIG. 9 is a diagram 900 explaining a method for obtaining information ofa short-range communication device connected to an electronic devicesupporting a proximity communication service according to certainembodiments.

In FIG. 9 according to an embodiment, explanation will be made under theassumption that a short-range communication device based on the secondcommunication protocol, for example, a Bluetooth speaker 960, isconnected to an electronic device 940. However, the short-rangecommunication device is not limited thereto, and may include a deviceinside a vehicle (e.g., display device or audio device), a desktop PC, alaptop PC, a tablet PC, or a keyboard.

With reference to FIG. 9, among electronic devices 910, 920, 930, and940, the electronic device 940 may exist in the same short-rangewireless communication coverage 970 (e.g., area shaded from a lower leftside to an upper right side) (e.g., Bluetooth coverage) as that of theshort-range communication device, for example, the Bluetooth speaker960. The electronic device 940 may be communication-connected with theBluetooth speaker 960 existing in the short-range wireless communicationcoverage 970 based on the second communication protocol (e.g.,Bluetooth, BLE, or UWB).

In an embodiment, the electronic devices 910, 920, 930, and 940 mayconfigure a cluster 950 based on the first communication protocol. Thecluster 950 allows the electronic devices to mutually transmit andreceive data to and from one another. For example, if at least oneexternal electronic device is detected through the Bluetooth low energy(BLE), or if the execution of the proximity communication service isdetected, one of the electronic devices 910, 920, 930, and 940 mayactivate a communication function for supporting the first communicationprotocol (e.g., NAN-based low-power short-range communication function),and may configure the cluster 950 with the at least one externalelectronic device around the electronic device.

By way of example, and not limiting, the electronic devices 910, 920,930, and 940 configure the cluster 950 (e.g., area shaded from a lowerright side to an upper left side) (e.g., cluster 201 of FIG. 2) based onthe first communication protocol after the electronic device 940 iscommunication-connected based on the second communication protocol(e.g., Bluetooth, BLE, or UWB) with the Bluetooth speaker 960 TheBluetooth speaker 960 exists in short-range wireless communicationcoverage area 970.

For example, with the activation of the communication function (e.g.,NAN-based low-power short-range communication function) for supportingthe first communication protocol, the electronic devices 910, 920, 930,940 may configure the cluster 950 based on the first communicationprotocol. If the NAN-based low-power short-range communication functionis activated, the second communication protocol (e.g., short-rangecommunication excluding the NAN-based low-power short-rangecommunication, for example, Bluetooth, LBE, or UWB) of the electronicdevices may be activated, and based on the activated secondcommunication protocol (e.g., Bluetooth, BLE, or UWB), the electronicdevice, for example, the electronic device 940, may becommunication-connected with the Bluetooth speaker 960 existing in theshort-range wireless communication coverage 970.

In an embodiment, if the cluster 950 including the electronic devices910, 920, 930, 940, the electronic device 940 may generate informationof the communication-connected Bluetooth speaker 960 existing in theshort-range wireless communication coverage 970, and may transmit thegenerated information to the electronic devices 910, 920, 930.

In another embodiment, among the electronic devices, the electronicdevice 910 may transmit a subscribe message for requesting a search forthe short-range communication device to the electronic devices 910, 920,930, 940 in the cluster based on the first communication protocol (e.g.,NAN-based low-power short-range communication (e.g., Wi-Fi-aware). Amongthe electronic devices having received the subscribe message, theelectronic device 940 connected to the Bluetooth speaker 960 using theBluetooth communication may generate information identifying theBluetooth speaker 960, and may transmit the generated information toelectronic device 910.

As another example, in case of executing a music application to playmusic, the electronic device 910 may request the information of theBluetooth speaker 960 from the external electronic device (e.g.,electronic device 940) being short-range communication-connected withthe Bluetooth speaker 960 (or headset) existing in the cluster, and mayreceive the information of the Bluetooth speaker 960 from the electronicdevice 940 in response to the request.

As still another example, the first electronic device 910 may requestthe information of short-range communication device(s) (e.g., Bluetoothspeaker 960 or Bluetooth keyboard (not illustrated)) from other externalelectronic devices existing in the cluster based on the kind of aservice being currently executed (e.g., music playback or documentpreparation) or an executable service. In response to this, theelectronic device 910 may receive the information of the short-rangecommunication device from electronic devices 920, 930, 940.

According to certain embodiments as described above, the electronicdevice 910 (or the electronic device 920, 930) may receive theinformation of the Bluetooth speaker 960 from the electronic device 940.When a signal for communication connection with the Bluetooth speaker960, the first electronic device 910 may transmit data related to aspecific service to the Bluetooth speaker 960 through the electronicdevice 940. For example, the electronic device 910 may transmit an audiosignal for music playback to the electronic device 940 through the firstcommunication circuit. The electronic device 940 may transmit the audiosignal for the music playback being received from the electronic device910 through the first communication circuit to the Bluetooth speaker 960through the second communication circuit. The Bluetooth speaker 960 mayoutput the music based on the audio signal received from the fourthelectronic device 940.

In another embodiment, the short-range communication device may includea pair of short-range communication devices. For example, the pair ofshort-range communication devices may include a Bluetooth speakerincluding a first Bluetooth speaker and a second Bluetooth speaker, or aBluetooth earphone including a first Bluetooth earphone and a secondBluetooth earphone.

For example, explanation will be made in the case that the Bluetoothspeaker 960 according to the embodiment of FIG. 9 includes the firstBluetooth speaker and the second Bluetooth speaker, such as stereospeakers. If a signal for communication connection with a pair ofshort-range communication devices, for example, the Bluetooth speakers960 is detected, the electronic device 910 may transmit a first audiosignal (for example, stereo channel left) for music playback through thefirst Bluetooth speaker and a second audio signal (for example, stereochannel right) for music playback through the second Bluetooth speakerto the electronic device 940 using the first communication circuit. Theelectronic device 940 may transmit the first audio signal and the secondaudio signal for the music playback being received from the electronicdevice 910 through the first communication circuit to the Bluetoothspeakers 960, for example, the first audio signal to the first Bluetoothspeaker and the second audio signal to the second Bluetooth speaker,through the second communication circuit. The first Bluetooth speakerand the second Bluetooth speaker may output the music based on the firstaudio signal and the second audio signal received from the electronicdevice 940.

FIG. 10 is a flowchart 1000 explaining a method for obtaining anddisplaying information of a short-range communication device connectedto an electronic device supporting a proximity communication serviceaccording to certain embodiments.

According to an embodiment, because operations 1001, 1003, and 1009 ofFIG. 10 may be similar to the operations 601, 603, and 605 of FIG. 6 asdescribed above.

With reference to FIG. 10, the electronic device (e.g., electronicdevice 501 of FIG. 5), at operation 1001, may configure the clusterbased on the first communication protocol with at least one externalelectronic device through the first communication circuit (e.g., firstcommunication circuit 511 of FIG. 5). At operation 1003, the electronicdevice 501 may receive information identifying the at least oneshort-range communication device connected based on the secondcommunication protocol with the at least one external electronic devicefrom the at least one external electronic device in the cluster throughthe first communication circuit 511.

The electronic device 501, at operation 1005, may determine whether toestablish a connection based on the second communication protocol withthe at least one short-range communication device through the secondcommunication circuit (e.g., second communication circuit 513 of FIG.5). In an embodiment, if the second communication circuit 513 is in adeactivated state, the electronic device 501 activate the secondcommunication circuit 513, and may establish the connection based on thesecond communication protocol with the at least one short-rangecommunication device through the second communication circuit 513.

In an embodiment, if the connection based on the second communicationprotocol with the at least one short-range communication device isestablished through the second communication circuit 513, the electronicdevice 501, at operation 1007, may display, on the display (e.g.,display 531 of FIG. 5), at least one indicator indicating the at leastone short-range communication device connected based on the secondcommunication protocol with the at least one external electronic deviceand at least one other indicator indicating the at least one short-rangecommunication device establishing the connection based on the secondcommunication protocol with the electronic device 501. For example, theelectronic device 501 may separately display, on the display 531, the atleast one indicator indicating the at least one external electronicdevice identified using the information of the short-range communicationdevice received from the external electronic device and the at least oneother indicator indicating at least one other external electronicdevice.

In an embodiment, if the connection based on the second communicationprotocol with the at least one short-range communication device is notestablished through the second communication circuit 513, the electronicdevice 501, at operation 1009, may display an indicator indicating theat least one short-range communication device on the display 531 basedon the information received from the at least one external electronicdevice. For example, the electronic device 501 may displayidentification information (e.g., name) of the at least one short-rangecommunication device, attributes (e.g., type and specification), statusinformation (e.g., on/off), battery residual quantity information,communication strength information, or communication protocol typeinformation, or may display the at least one short-range communicationdevice and the external electronic device connected based on the secondcommunication protocol in association with each other.

In an embodiment, although it has been described that the electronicdevice 501 displays, on the display 531, the at least one short-rangecommunication device establishing the connection based on the secondcommunication protocol through the second communication circuit 513, thedisplay operation is not limited thereto. For example, the electronicdevice 501 may display not only the at least one short-rangecommunication device establishing the connection but also theshort-range communication device located adjacent to the electronicdevice 501 (e.g., short-range communication device having acommunication signal strength that exceeds a designated value) searchedfor through the search operation for the short-range communicationdevice located around the electronic device 501.

FIG. 11 is a diagram 1100 illustrating signal flows among a firstshort-range communication device 1110, an external electronic device1120, an electronic device 1130, and a second short-range communicationdevice 1140 according to certain embodiments.

With reference to FIG. 11, the first short-range communication device1110 and the external electronic device 1120, at operation 1150, may beconnected with each other through short-range communication based on thesecond communication protocol. For example, the short-rangecommunication connection based on the second communication protocol mayinclude a short-range communication connection excluding the NAN-basedlow-power short-range communication. In FIG. 11 according to anembodiment, although it has been described that the external electronicdevice 1120 is connected to one short-range communication device 1110through the short-range communication, the connection of the externalelectronic device is not limited thereto. For example, the externalelectronic device 1120 may be connected to a plurality of short-rangecommunication devices including the short-range communication device1110 through the short-range communication.

In an embodiment, the external electronic device 1120 and the electronicdevice 1130 (e.g., electronic device 501 of FIG. 5), at operation 1155,may configure the cluster based on the first communication protocol. Forexample, the first communication protocol may include the NAN-basedlow-power short-range communication.

In an embodiment, although it has been described that the firstshort-range communication device 1110 and the external electronic device1120, at operation 1150, are communication-connected with each otherbased on the second communication protocol, and then the externalelectronic device 1120 and the electronic device 1130, at operation1155, configure the cluster based on the first communication protocol,the operation of the electronic devices is not limited thereto. Forexample, the external electronic device 1120 and the electronic device1130, at operation 1155, may configure the cluster based on the firstcommunication protocol, and then the first short-range communicationdevice 1110 and the external electronic device 1120, at operation 1150,may be communication-connected with each other based on the secondcommunication protocol.

In an embodiment, the external electronic device 1120, at operation1160, may generate information of the first short-range communicationdevice 1110 connected based on the second communication protocol. Atoperation 1165, the external electronic device 1120 may transmit thegenerated information of the first short-range communication device 1110to the electronic device 1130 through the first communication circuit(e.g., first communication circuit 511 of FIG. 5). For example, if theexternal electronic device 1120 configures the cluster with theelectronic device 1130, the external electronic device 1120 may generatethe information of the first short-range communication device 1110connected based on the second communication protocol, and may transmitthe generated information to the electronic device 1130. As anotherexample, if a signal for requesting the information of the firstshort-range communication device 1110 is received from the electronicdevice 1130 in the cluster, the external electronic device 1120 maygenerate and transmit the information of the first short-rangecommunication device 1110 to the electronic device 1130.

In an embodiment, the electronic device 1130, at operation 1170, maysearch for the short-range communication device based on the secondcommunication protocol. For example, the electronic device 1130 mayperform a search operation (e.g., inquiry operation) through the secondcommunication circuit (e.g., second communication circuit 513 of FIG. 5)in order to identify whether the short-range communication device, whichis communication-connectable or which can provide a specific service, islocated around the electronic device 1130. The electronic device 1130may search for the short-range communication device having entered apairing mode after configuring the short-range communication device forthe short-range communication connection, for example, the Bluetoothcommunication connection, in a searchable mode (e.g., activating (e.g.,on) the Bluetooth).

In an embodiment, if the search operation, for example, the short-rangesignal, is received from the electronic device 1130, the secondshort-range communication device 1140, at operation 1175, may transmit,to the electronic device 1130, a response signal including informationof the second short-range communication device 1140 (e.g., addressinformation, capability information, location information,identification information (e.g., name) of the short-range communicationdevice, attributes (e.g., type and specification), status information,battery residual quantity information, communication strengthinformation, or communication protocol type information).

In an embodiment, the electronic device 1130, at operation 1180, maydisplay indicators indicating the first short-range communication device1110 and the second short-range communication device 1140 on the display(e.g., display 531 of FIG. 5). For example, the electronic device 1130may separately display the indicator indicating the first short-rangecommunication device 1110 connected based and the indicator indicatingthe second short-range communication device 1140 searched for based onthe second communication protocol by the electronic device 1130.

In an embodiment, the electronic device 1130 may detect a user input forone of the communication connection between the first short-rangecommunication device 1110 and the second short-range communicationdevice 1140 being displayed on the display 531. For example, if the userinput for selecting the first short-range communication device 1110, isdetected, the electronic device 1130 may transmit data related to aspecific service to the first short-range communication device 1110selected through the external electronic device 1120.

However, the data transmission is not limited thereto, and for example,if an input for selecting the first short-range communication device1110 is detected, the electronic device 1130 may amplify an outputsignal of the second communication circuit 513. The electronic device1130 may be directly communication-connected with the first short-rangecommunication device 1110 based on the second communication protocolthrough the second communication circuit 513 whose output signal hasbeen amplified.

As another example, when the user input for selecting the secondshort-range communication device 1140, is detected, the electronicdevice 1130 may be communication-connected based on the secondcommunication protocol with the second short-range communication device1140.

In another embodiment, if the electronic device 1130 has a history inwhich the electronic device is pre-connected with the second short-rangecommunication device 1140, the electronic device 1130 may beautomatically communication-connected with the second short-rangecommunication device 1140 based on the second communication protocol incase of the power-on of the second short-range communication device1140.

FIGS. 12A to 12D are diagrams 1200 explaining a method for obtaining anddisplaying information of a short-range communication device connectedto an electronic device supporting a proximity communication serviceaccording to certain embodiments.

In FIGS. 12A to 12D according to certain embodiments, althoughexplanation has been made under the assumption that a device list basedon the Bluetooth communication is displayed through a Bluetoothconfiguration screen, the display is not limited thereto, and a devicelist based on the Wi-Fi or Wi-Fi direct communication may be displayedthrough the Wi-Fi or Wi-Fi direct configuration screen.

With reference to FIG. 12A, the electronic device (e.g., electronicdevice 501 of FIG. 5, electronic device 830 of FIG. 8, or electronicdevice 1130 of FIG. 11) may receive, through the first communicationcircuit 511, information of the external electronic device (e.g.,external electronic device 820 of FIG. 8 or external electronic device1120 of FIG. 11) connected through the first communication circuit(e.g., first communication circuit 511 of FIG. 5) supporting the firstcommunication protocol, or the short-range communication device (e.g.,short-range communication device 810 of FIG. 8 or the first short-rangecommunication device 1110 of FIG. 11) connected through the secondcommunication circuit (e.g., second communication circuit 513 of FIG. 5)supporting the second communication protocol.

For example, as denoted by a reference numeral 1210, when a user inputfor entering a short-range communication configuration screen, forexample, a Bluetooth configuration screen, is detected, the electronicdevice may display the Bluetooth configuration screen on the display(e.g., display 531 of FIG. 5). The Bluetooth configuration screen mayinclude a registered device list 1211 (e.g., at least one device 1211 bbeing connected with the electronic device and/or at least one device1211 a having a history of pre-connection, or previously connectedwithin a predetermined amount of time), an indicator indicating ashort-range communication device 1213 (e.g., available device) connectedwith the external electronic device that received from the externalelectronic device through the first communication circuit 511, and/oranother indicator indicating short-range communication device 1217(e.g., second short-range communication device 1140 of FIG. 11) searchedfor based on the second communication protocol with the electronicdevice. The electronic device may display information for indicatingthat the short-range communication device 1213 is received from theexternal electronic device existing in the same cluster as that of theelectronic device. For example, a communication protocol type (e.g.,Wi-Fi aware), together with the identification information of theshort-range communication device 1213 (e.g., name (e.g., Lux) of theshort-range communication device 1213).

According to certain embodiments, although not illustrated, theelectronic device may further display attribute information, statusinformation (e.g., on/off), battery residual quantity information,and/or communication strength information of the short-rangecommunication device 1213.

The indicators 1213 and 1217 can be selectable objects in certainembodiments.

In an embodiment, if a user input 1215 (such as a touch input) forselecting a signal for communicating with the short-range communicationdevice 1213 is detected, the electronic device may transfer data relatedto the specific service to the short-range communication device 1213through the external electronic device. For example, the electronicdevice may transmit the data related to the specific service with theshort-range communication device 1213 to the external electronic devicethrough the first communication circuit 511. The external electronicdevice may transmit the data related to the specific service receivedfrom the electronic device through the first communication circuit(e.g., first communication circuit 511) to the short-range communicationdevice 1213 through the second communication circuit (e.g., secondcommunication circuit 513). In an embodiment, in response to thedetection of the user input 1215 for selecting the short-rangecommunication device 1213, the electronic device may include theshort-range communication device 1213 in the registered device list 1221to be displayed in order to indicate that it is possible to perform thespecific service through the short-range communication device 1213 asdenoted by a reference numeral 1220. The short-range communicationdevice 1213 may execute the specific service (e.g., music playback)corresponding to the request from the electronic device being receivedthrough the external electronic device.

According to certain embodiments, although not illustrated, theelectronic device may transmit the data related to the specific serviceto a plurality of short-range communication devices through a pluralityof external electronic devices.

In an embodiment, the electronic device may communicate with theshort-range communication device (e.g., GRANDEUR). The short rangecommunication device, GRANDEUR can be connected based on the secondcommunication protocol with the short-range communication device 1213.The short-range communication device 1213 can be connected with theexternal electronic device and information about short-rangecommunication device 1213 can be received from the external electronicdevice (e.g., external electronic device 1120 of FIG. 11) through thefirst communication circuit 511. Explanation will be made under theassumption that the short-range communication device 1213 connected withthe external electronic device and the short-range communication deviceconnected based on the second communication protocol according to anembodiment are the Bluetooth speaker and a device inside a vehicle, forexample, an audio device, respectively. The electronic device maytransmit the specific service, for example, an audio signal related tothe music playback, to the external electronic device through the firstcommunication circuit 511. The external electronic device may transmitthe audio signal related to the music playback being received from theelectronic device to the short-range communication device 1213 throughthe second communication circuit (e.g., second communication circuit513). The electronic device may transmit the audio signal related to themusic playback to the short-range communication device through thesecond communication circuit 513. The short-range communication device1213 and 1217 may play the music based on the received audio signalrelated to the music playback.

In an embodiment, the electronic device may communicate with theplurality of short-range communication devices (e.g., the firstshort-range communication device and the second short-rangecommunication device) connected with the plurality of externalelectronic devices using the plurality of external electronic devices(e.g., the first external electronic device and the second externalelectronic device) received through the first communication circuit 511supporting the first communication protocol. Explanation will be madeunder the assumption that the plurality of short-range communicationdevice connected with the plurality of external electronic devicesaccording to an embodiment are a plurality of Bluetooth speakers. Theelectronic device may transmit the audio signal related to the specificservice, for example, the music playback, to the first externalelectronic device and the second external electronic device through thefirst communication circuit 511. The first external electronic deviceand the second external electronic device may transmit the audio signalrelated to the music playback being received from the electronic deviceto the first short-range communication device and the second short-rangecommunication device through the second communication circuit 513. Thefirst short-range communication device and the second short-rangecommunication device may play the music based on the audio signalrelated to the music playback being received from the first externalelectronic device and the second external electronic device through thesecond communication circuit 513.

According to certain embodiments, the electronic device plays the musicthrough the plurality of short-range communication devices, for example,the plurality of Bluetooth speakers, and thus can provide imminent soundto the user.

With reference to FIG. 12B according to another embodiment, as denotedby a reference numeral 1230, if the user input for entering theBluetooth configuration screen is detected, the electronic device maydisplay the Bluetooth configuration screen on the display. The Bluetoothconfiguration screen may include a registered device list 1231 (e.g., atleast one device 1231 b being connected with the electronic deviceand/or at least one device 1231 a having a history of pre-connection)and/or a short-range communication device 1233 (e.g., second short-rangecommunication device 1140 of FIG. 11) searched for based on the secondcommunication protocol with the electronic device.

In an embodiment, if a user input for entering the Bluetoothconfiguration screen is detected, the electronic device may configurethe cluster based on the first communication protocol with the at leastone external electronic device through the first communication circuit.In an embodiment, if the user input for entering the Bluetoothconfiguration screen is detected in case that the first communicationcircuit 511 is in a deactivated state, the electronic device mayconfigure the cluster based on the first communication protocol with theat least one external electronic device after activating the firstcommunication circuit 511 in the deactivated state.

In an embodiment, the electronic device may display at least oneindicator indicating the at least one external electronic device 1241 inthe cluster, together with the registered device list 1231 as denoted bya reference numeral 1240 and the indicator indicating the short-rangecommunication device 1233 (short-range communication device 1233 isconnected based on the second communication protocol). The electronicdevice may display information for indicating that the cluster has beenconfigured based on the first communication protocol, for example, acommunication protocol type (e.g., Wi-Fi aware) together with theidentification information of the external electronic device 1241 (e.g.,name (e.g., note10) of the external electronic device 1241).

In an embodiment, if the user input 1245 for selecting the externalelectronic device 1241 is detected, the electronic device may display anindicator indicating the short-range communication device 1253 that isconnected based on the second communication protocol with the externalelectronic device 1241 together with the registered device list 1231 asdenoted by the reference numeral 1250 and the external electronic device1241. The electronic device may display information for indicating thatthe short-range communication device 1253 (e.g., “LUX”) is received fromthe external electronic device (e.g., “Note 10”) existing in the samecluster.

In an embodiment, although not illustrated, if a user input forselecting the short-range communication device 1253 is detected, theelectronic device may transmit the data related to the specific serviceusing the selected short-range communication device 1253 to the selectedshort-range communication device 1253 through the external electronicdevice 1241. For example, the electronic device may transmit thespecific service, for example, the audio signal related to the musicplayback, to the external electronic device 1241 through the firstcommunication circuit 511. The external electronic device 1241 maytransmit the audio signal related to the music playback received fromthe electronic device to the selected short-range communication device1253 through the second communication circuit (e.g., secondcommunication circuit 513). The selected short-range communicationdevice 1253 may play the music based on the audio signal related to themusic playback being received through the external electronic device.

With reference to FIG. 12C according to still another embodiment, asdenoted by reference numeral 1260, the electronic device may display ashort-range communication device 1263 connected based on the secondcommunication protocol with at least one external electronic deviceexisting in the same cluster as that of the electronic device (e.g.,cluster configured based on the first communication protocol) through aquick panel window 1261. For example, if a user gesture (e.g., gesturein a direction from an upper end to a lower end of the electronicdevice) for outputting the quick panel window 1261 is detected duringthe music playback, the electronic device may display the quick panelwindow 1261 on at least a part of the display 531. The quick panelwindow 1261 may display therein the short-range communication device1263 capable of performing the music playback, which is connected basedon the second communication protocol with the at least one externalelectronic device existing in the same cluster (e.g., cluster configuredbased on the first communication protocol) as that of the electronicdevice. However, the display function of the quick panel window 1261 isnot limited thereto, and the electronic device may perform a searchoperation in order to identify whether the short-range communicationdevice capable of performing the communication connection or providingthe specific service is located around the electronic device. The quickpanel window 1261 may further display the short-range communicationdevice 1265 capable of performing the music playback based on the secondcommunication protocol, which is located around the electronic devicesearched for through the search operation.

In an embodiment, if a user input 1267 for selecting the short-rangecommunication device 1263 displayed in the quick panel window 1261 isdetected, the electronic device may display a screen including musicplayback information 1275 as denoted by reference numeral 1270. Forexample, the electronic device may transmit the audio signal related tothe music playback to the external electronic device through the firstcommunication circuit 511, and the external electronic device maytransmit the audio signal related to the music playback received fromthe electronic device through the first communication circuit (e.g.,first communication circuit 511) to the short-range communication device1263 through the second communication circuit (e.g., secondcommunication circuit 513). The short-range communication device 1263may play the music based on the audio signal related to the musicplayback received from the external electronic device. In an embodiment,the service has been described as the music playback, but is not limitedthereto.

According to the above-described embodiment, although it has beendescribed that the music is played through the short-range communicationdevice connected based on the second communication protocol with theexternal electronic device (e.g., external electronic device connectedbased on the first communication protocol) existing in the cluster, theway of the music playback is not limited thereto, a file (e.g., an imagefile or a document file) can be shared by the short-range communicationdevice connected to the external electronic device existing in thecluster. For example, the electronic device may execute a photoapplication in order to share an image file. If a user input for sharingthe image file is detected on the screen including at least one imagebeing displayed in response to the execution of the photo application,the electronic device may receive the information of the short-rangecommunication device being connected with the external electronic deviceexisting in the cluster, and based on this, the electronic device mayconfigure a user interface for sharing the image file with theshort-range communication device. The electronic device may share animage with the short-range communication device through the externalelectronic device using the user interface for sharing the image file.If the user input for sharing the image file is detected, the electronicdevice may transmit the image file to the external electronic devicethrough the first communication circuit 511 supporting the firstcommunication protocol. The external electronic device may transmit theimage file received from the electronic device to the short-rangecommunication device through the second communication circuit (e.g.,second communication circuit 513) supporting the second communicationprotocol.

According to an embodiment, the service that may be performed throughthe short-range communication device connected based on the secondcommunication protocol may include not only the above-described musicplayback and file sharing but also document preparation and an Internetof things (IoT) service.

With reference to FIG. 12D according to still another embodiment, asdenoted by reference numeral 1280, the electronic device may display alist 1281 of short-range communication devices including a short-rangecommunication device (e.g., device 1) based on the searched secondcommunication protocol, and short-range communication devices (e.g.,device 2, device 3, and device 4) connected based on the secondcommunication protocol with the at least one external electronic deviceexisting in the same cluster (e.g., cluster configured based on thefirst communication protocol) as that of the electronic device. Theelectronic device may display information for indicating that theshort-range communication device is received from the externalelectronic device existing in the same cluster as that of the electronicdevice connected with the short-range communication device, for example,a communication protocol type (e.g., Wi-Fi aware), together with theidentification information of the short-range communication device(e.g., device 2, device 3, and device 4). As the communication protocoltype is displayed, the short-range communication device (e.g., device 2,device 3, and device 4) connected based on the second communicationprotocol with the at least one external electronic device existing inthe cluster may be discriminated from the short-range communicationdevice (e.g., device 1) searched for based on the second communicationprotocol.

In an embodiment, the electronic device may receive the information ofthe short-range communication device connected based on the secondprotocol with the at least one external electronic device from the atleast one external electronic device existing in the same cluster, andthe received information may include the communication signal strength.The electronic device may display the short-range communication devicesin the order of their communication signal strength based on thecommunication signal strength of the received short-range communicationdevices. For example, if it is assumed that the communication signalstrength is higher in the order of device 4, device 2, device 3, anddevice 1, the electronic device may display the list 1291 of theshort-range communication devices in the order of device 4, device 2,device 3, and device 1 as denoted by reference numeral 1290.

However, the display order is not limited thereto, and the informationof the short-range communication devices being received from the atleast one external electronic device existing in the same cluster mayinclude a device type (e.g., audio device, keyboard, or PC). Theelectronic device may display the short-range communication devices inthe order of their high relevance of the functions (e.g., musicplayback, data sharing, or document preparation) being currentlyexecuted based on the type of the received short-range communicationdevice.

The electronic device according to certain embodiments may be one ofvarious types of electronic devices. The electronic devices may include,for example, a portable communication device (e.g., a smartphone), acomputer device, a portable multimedia device, a portable medicaldevice, a camera, a wearable device, or a home appliance. According toan embodiment of the disclosure, the electronic devices are not limitedto those described above.

It should be appreciated that certain embodiments of the presentdisclosure and the terms used therein are not intended to limit thetechnological features set forth herein to particular embodiments andinclude various changes, equivalents, or replacements for acorresponding embodiment. With regard to the description of thedrawings, similar reference numerals may be used to refer to similar orrelated elements. It is to be understood that a singular form of a nouncorresponding to an item may include one or more of the things, unlessthe relevant context clearly indicates otherwise. As used herein, eachof such phrases as “A or B,” “at least one of A and B,” “at least one ofA or B,” “A, B, or C,” “at least one of A, B, and C,” and “at least oneof A, B, or C,” may include any one of, or all possible combinations ofthe items enumerated together in a corresponding one of the phrases. Asused herein, such terms as “1st” and “2nd,” or “first” and “second” maybe used to simply distinguish a corresponding component from another,and does not limit the components in other aspect (e.g., importance ororder). It is to be understood that if an element (e.g., a firstelement) is referred to, with or without the term “operatively” or“communicatively”, as “coupled with,” “coupled to,” “connected with,” or“connected to” another element (e.g., a second element), it means thatthe element may be coupled with the other element directly (e.g.,wiredly), wirelessly, or via a third element.

As used herein, the term “module” may include a unit implemented inhardware, software, or firmware, and may interchangeably be used withother terms, for example, “logic,” “logic block,” “part,” or“circuitry”. A module may be a single integral component, or a minimumunit or part thereof, adapted to perform one or more functions. Forexample, according to an embodiment, the module may be implemented in aform of an application-specific integrated circuit (ASIC).

Certain embodiments as set forth herein may be implemented as software(e.g., the program 140) including one or more instructions that arestored in a storage medium (e.g., internal memory 136 or external memory138) that is readable by a machine (e.g., the electronic device 101).For example, a processor (e.g., the processor 120) of the machine (e.g.,the electronic device 101) may invoke at least one of the one or moreinstructions stored in the storage medium, and execute it, with orwithout using one or more other components under the control of theprocessor. This allows the machine to be operated to perform at leastone function according to the at least one instruction invoked. The oneor more instructions may include a code generated by a complier or acode executable by an interpreter. The machine-readable storage mediummay be provided in the form of a non-transitory storage medium. The term“non-transitory” simply means that the storage medium is a tangibledevice, and does not include a signal (e.g., an electromagnetic wave),but this term does not differentiate between where data issemi-permanently stored in the storage medium and where the data istemporarily stored in the storage medium.

According to an embodiment, a method according to certain embodiments ofthe disclosure may be included and provided in a computer programproduct. The computer program product may be traded as a product betweena seller and a buyer. The computer program product may be distributed inthe form of a machine-readable storage medium (e.g., compact disc readonly memory (CD-ROM)), or be distributed (e.g., downloaded or uploaded)online via an application store (e.g., PlayStore™), or between two userdevices (e.g., smart phones) directly. If distributed online, at leastpart of the computer program product may be temporarily generated or atleast temporarily stored in the machine-readable storage medium, such asmemory of the manufacturer's server, a server of the application store,or a relay server.

According to certain embodiments, each component (e.g., a module or aprogram) of the above-described components may include a single entityor multiple entities. According to certain embodiments, one or more ofthe above-described components may be omitted, or one or more othercomponents may be added. Alternatively or additionally, a plurality ofcomponents (e.g., modules or programs) may be integrated into a singlecomponent. In such a case, according to certain embodiments, theintegrated component may still perform one or more functions of each ofthe plurality of components in the same or similar manner as they areperformed by a corresponding one of the plurality of components beforethe integration. According to certain embodiments, operations performedby the module, the program, or another component may be carried outsequentially, in parallel, repeatedly, or heuristically, or one or moreof the operations may be executed in a different order or omitted, orone or more other operations may be added.

What is claimed is:
 1. An electronic device comprising: a first communication circuit configured to support a first communication protocol; a second communication circuit configured to support a second communication protocol, wherein the second communication protocol supports a different short range communication protocol than the first communication protocol; a display; and at least one processor operatively connected to the first communication circuit and the display, wherein the at least one processor is configured to: configure a cluster with at least one external electronic device based on the first communication protocol through the first communication circuit, receive through the first communication circuit, from the at least one external electronic device, information identifying at least one short-range communication device connected to the at least one external electronic device via the second communication protocol, control the display to display a user interface including identification information of the at least one external electronic device that has transmitted the information identifying at least one short-range communication device, identification information of the at least one short-range communication device, and type information of the first communication protocol, detect an input for selecting a short-range communication device among the at least one short-range communication device displayed in the user interface, and in response to the input, transmit, to an external electronic device connected to the selected short-range communication device, data related to a specific function of the electronic device so as to perform the specific function of the electronic device using the selected short-range communication device.
 2. The electronic device of claim 1, wherein the first communication protocol supports a low-power short-range communication based on neighbor awareness networking (NAN).
 3. The electronic device of claim 1, wherein the at least one processor is configured to: search for at least one other connectable short-range communication device based on the second communication protocol through the second communication circuit, and control the display to display at least one other indicator indicating the at least one other short-range communication device.
 4. The electronic device of claim 3, wherein control the display to display at least one other indicator indicating the at least one other short-range communication device comprises control the display to separately display the at least other indicator of the at least one other short-range communication device connected based on the second communication protocol with the at least one indicators of the at least one external electronic device and the at least one searched short-range communication device.
 5. The electronic device of claim 1, wherein the at least one processor is configured to transmit a request for a search for the at least one short-range communication device to the at least one external electronic device through the first communication circuit.
 6. The electronic device of claim 1, wherein the at least one processor is configured to in response to the input, transmit a signal to the external electronic device connected to the selected short-range communication device among the at least one external electronic device through the first communication circuit.
 7. An electronic device comprising: a first communication circuit configured to support a first communication protocol; a second communication circuit configured to support a second communication protocol; and at least one processor operatively connected to the first communication circuit and the second communication circuit, wherein the at least one processor is configured to: establish a connection via the second communication protocol with at least one short-range communication device using the second communication circuit, configure a cluster via the first communication protocol with an external electronic device through the first communication circuit, generate information identifying the at least one short-range communication device connected via the second communication protocol, transmit the generated information of the at least one short-range communication device to the external electronic device through the first communication circuit, and receive data related to a specific function of the external electronic device from the external electronic device via the first communication protocol through the first communication circuit and transmit the data to the at least one short-range communication device using the second communication protocol through the second communication circuit.
 8. The electronic device of claim 7, wherein the information identifying the at least one short-range communication device comprises at least one of address information, capability information, location information, identification information, a device type, status information, battery residual quantity information, communication strength information, or communication protocol type information.
 9. The electronic device of claim 7, wherein when a signal for requesting information identifying the at least one short-range communication device is received from the external electronic device through the first communication circuit, the at least one processor is configured to generate the information identifying the at least one short-range communication device and to transmit the information to the external electronic device through the first communication circuit.
 10. The electronic device of claim 7, wherein when a signal for requesting a search for the at least one short-range communication device is received from the external electronic device through the first communication circuit, the at least one processor is configured to generate at least one of the information identifying the at least one short-range communication device or the information identifying at least one short-range communication device in which a strength of a received communication signal exceeds a designated value and to transmit the generated information to the external electronic device.
 11. A method for obtaining information of a short-range communication device using an electronic device supporting a proximity communication service, the method comprising: configuring a cluster with at least one external electronic device through a first communication circuit based on a first communication protocol; receiving, through the first communication circuit, from the at least one external electronic device, information identifying at least one short-range communication device connected based on a second communication protocol with the at least one external electronic device, the second communication protocol different from the first communication protocol; and displaying a user interface including identification information of the at least one external electronic device that has transmitted the information identifying at least one short-range communication device, identification information of the at least one short-range communication device, and type information of the first communication protocol; detecting an input for selecting a short-range communication device among the at least one short-range communication device displayed in the user interface, and in response to the input, transmitting, to an external electronic device connected to the selected short-range communication device, data related to a specific function of the electronic device so as to perform the specific function of the electronic device using the selected short-range communication device.
 12. The method of claim 11, wherein the first communication protocol supports a low-power short-range communication based on neighbor awareness networking (NAN).
 13. The method of claim 11, further comprising: searching for at least one connectable other short-range communication device through a second communication circuit supporting the second communication protocol; and displaying at least one other indicator indicating the at least one connectable other short-range communication device.
 14. The method of claim 13, wherein the at least one indicator indicating the at least one short-range communication device and the at least indicator indicating the at least one searched short-range communication device are distinguishably displayed.
 15. The method of claim 11, further comprising transmitting a request for a search for the at least one short-range communication device to the at least one external electronic device through the first communication circuit.
 16. The method of claim 11, further comprising: transmitting a signal for the detected input to the external electronic device connected to the selected short-range communication device in response to detecting the input. 